/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server.excepciones;

/**
 *
 * @author tpaxle
 */
public class UsuarioYaExistenteException extends Exception{
        private static final long serialVersionUID = 1L;
	private String error;

    public UsuarioYaExistenteException(String error) {
        this.error= error;
    }
    @Override
    public String toString(){
            return error;
    }
}
